<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>自媒体-评论详情</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <link rel="stylesheet" href="/css/see/commentInfo.min.css?v=<%=$version%>">
</head>
<body>
<div id="commentInfo" v-cloak>
    <div class="chatPage-top"><span class="goback" @click="getBack()"></span>评论详情</div>
    <div class="comment-list">
        <span class="comment-listHead" :style="bgimg(commentList.headImg)"></span>
        <div class="comment-listRight">
            <h6>{{commentList.content}}</h6>
            <p>{{commentList.uName}}<span>&bull;</span>{{commentList.createDate}}</p>
            <div class="comment-listBtn">
                <span :class="{'1':'selfMediaVd-good1','0':'selfMediaVd-good'}[''+praiseState]" @click.stop="praiseMediaAdvComment()">{{praiseCount}}</span>
                <!--<span class="selfMediaVd-spcha">45</span>-->
                <span class="selfMediaVd-sppl" @click.stop="getReply()">{{commentList.commentCount}}</span>
                <span class="selfMediaVd-more1"></span>
            </div>
        </div>
    </div>
    <div class="commentInfo-cent">
        <template v-for="item in commentReplyList2">
            <template v-if="item.ruName!=null">
                <div class="comment-list" @click="getReply(item.userId,item.uName)">
                    <span class="comment-listHead" :style="bgimg(item.headImg)"></span>
                    <div class="comment-listRight">
                        <h6>回复<span>{{item.ruName}}</span>{{item.content}}</h6>
                        <p>{{item.uName}}<span>&bull;</span>{{item.createDate}}</p>
                    </div>
                </div>
            </template>
            <template v-if="item.ruName==null">
                <div class="comment-list" @click="getReply(item.userId,item.uName)">
                    <span class="comment-listHead" :style="bgimg(item.headImg)"></span>
                    <div class="comment-listRight">
                        <h6>{{item.content}}</h6>
                        <p>{{item.uName}}<span>&bull;</span>{{item.createDate}}</p>
                    </div>
                </div>
            </template>
        </template>
    </div>
    <div class="loadtip" v-if="loadFlag"></div>
    <div class="chatPage-butt">
        <input type="text" v-if="type==1" v-model="commentText" placeholder="说说你的看法...">
        <input type="text" v-if="type==2" v-model="commentText" :placeholder="'回复 '+name">
        <span class="chatPage-add" @click="comment()" v-if="number!=2">发送</span>
        <span class="chatPage-add" @click="postComment()" v-if="number==2">发送</span>
    </div>
    <prompt-view ref="prompt"></prompt-view>
</div>
<script type="text/javascript" src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/js/see/commentInfo.js?v=<%=$version%>"></script>
<script>
</script>
</body>
</html>